package tech.cn.note.word.fun;

import com.deepoove.poi.render.compute.RenderDataCompute;

import org.springframework.stereotype.Service;

@Service
public class DoNothing implements RenderFunction {
    @Override
    public String doCalculate(String[] fields, RenderDataCompute renderDataCompute) {
        String para = fields[0];
        Object data = renderDataCompute.compute(para);
        if (data == null) {
            return "";
        }
        return data.toString();
    }
}
